package com.example.demo.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

import java.time.LocalDateTime;

@Data
public class KafkaMessageLog {

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;
    private String topic;

    private String message;
    private LocalDateTime lastAttempt = LocalDateTime.now();
    private String status;
    private String errorMessage;
}
